package com.ruoyi.yyq.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商家余额对象 car_merchant_balance
 * 
 * @author 尹永青
 * @date 2025-05-14
 */
public class CarMerchantBalance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long balanceId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long mid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal initialBalance;

    public void setBalanceId(Long balanceId) 
    {
        this.balanceId = balanceId;
    }

    public Long getBalanceId() 
    {
        return balanceId;
    }

    public void setMid(Long mid) 
    {
        this.mid = mid;
    }

    public Long getMid() 
    {
        return mid;
    }

    public void setInitialBalance(BigDecimal initialBalance) 
    {
        this.initialBalance = initialBalance;
    }

    public BigDecimal getInitialBalance() 
    {
        return initialBalance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("balanceId", getBalanceId())
            .append("mid", getMid())
            .append("initialBalance", getInitialBalance())
            .toString();
    }
}
